export default [
  { path: '/user', layout: false, routes: [{ path: '/user/login', component: './User/Login' }] },
  { path: '/', redirect: '/add_chart' },
  { name: '智能分析', path: '/add_chart', icon: 'barChart', component: './AddChart' },
  {
    name: '我的图表',
    path: 'my_chart',
    icon: 'pieChart',
    component: './MyChart',
  },
  {
    name: '智能分析（异步）',
    path: '/add_chart_async',
    icon: 'barChart',
    component: './AddChartAsync',
  },
  { path: '*', layout: false, component: './404' },
];
